package com.foreveross.taskservice.infra.entity;

import java.util.Date;

import com.foreveross.taskservice.infra.hbase.annontation.HBaseColumn;

public abstract class CrawlInfoEntity extends DetailInfoEntity{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/*@HBaseColumn(qualifier = "SOURCE_ROWKEY", family = "crawlInfos")
	protected String sourceRowkey;
	*/
	
	/**
	 * 任务ID
	*/
	@HBaseColumn(qualifier = "TASKID", family = "crawlInfos")
	protected String taskId;
	
	/*@HBaseColumn(qualifier = "FROM_CITY", family = "crawlInfos")
	protected String fromCity;
	
	@HBaseColumn(qualifier = "TO_CITY", family = "crawlInfos")
	protected String toCity;
	
	@HBaseColumn(qualifier = "FROM_CITY_NAME", family = "crawlInfos")
	protected String fromCityName;
	
	@HBaseColumn(qualifier = "TO_CITY_NAME", family = "crawlInfos")
	protected String toCityName;
	
	@HBaseColumn(qualifier = "HBASEKEY", family = "crawlInfos")
	protected String hbaseKey;*/
	/**
	 * 抓取状态
	*/
	@HBaseColumn(qualifier = "STATUS", family = "crawlInfos")
	protected String status;
	
	/**
	 * 航班飞行时间
	*/
	@HBaseColumn(qualifier = "FLIGHT_START_TIEE", family = "crawlInfos" , format="yyyyMMddHHmmss")
	protected Date fligthStartTime;
	
	/**
	 * 航班飞行时间
	*/
	@HBaseColumn(qualifier = "FLIGHT_END_TIEE", family = "crawlInfos" , format="yyyyMMddHHmmss")
	protected Date fligthEndTime;
	
	
	/**
	 * 航班去程日期。如:2012-05-19,格式:yyyy-MM-dd
	 *//*
	@HBaseColumn(qualifier = "FLIGHTDATE", family = "crawlInfos")
	protected String flightDate;
	
	
	*//**
	 * 航班回程日期。如:2012-05-19,格式:yyyy-MM-dd
	 *//*
	@HBaseColumn(qualifier = "RFLIGHTDATE", family = "crawlInfos")
	protected String rFlightDate;
	*/
	
	/**
	 * 抓取时间
	 */
	@HBaseColumn(qualifier = "grabDate", family = "crawlInfos", format = "yyyyMMddHHmmssSSS")
	protected Date createTime = new Date();
	
	/**
	 * 抓取渠道ID
	 * */
	@HBaseColumn(qualifier = "grabChannelId", family = "crawlInfos")
	protected Long grabChannelId;
	/**
	 * 抓取渠道名称
	 */
	@HBaseColumn(qualifier = "grabChannel", family = "crawlInfos")
	protected String grabChannelName;
	
	/**
	 * 实际乘坐航班号，如 SC1234 实际乘坐CZ1234
	 */
	@HBaseColumn(qualifier = "flightNo", family = "crawlInfos")
	protected String flightNo;


	public Date getFligthStartTime() {
		return fligthStartTime;
	}

	public void setFligthStartTime(Date fligthStartTime) {
		this.fligthStartTime = fligthStartTime;
	}

	public Date getFligthEndTime() {
		return fligthEndTime;
	}

	public void setFligthEndTime(Date fligthEndTime) {
		this.fligthEndTime = fligthEndTime;
	}
	
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getGrabChannelId() {
		return grabChannelId;
	}

	public void setGrabChannelId(Long grabChannelId) {
		this.grabChannelId = grabChannelId;
	}

	public String getGrabChannelName() {
		return grabChannelName;
	}

	public void setGrabChannelName(String grabChannelName) {
		this.grabChannelName = grabChannelName;
	}

	public String getFlightNo() {
		return flightNo;
	}

	public void setFlightNo(String flightNo) {
		this.flightNo = flightNo;
	}

	public String getTaskId() {
		return taskId;
	}

	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	
}
